/**
	This is a general style of the application
*/
*{
	font-family: Lucida sans, sans-serif;
	font-size:12px;
	color:#333333;
}

* a{
	color:#0000FF;
	text-decoration:none;
}

* a:hover{
	color:#000066;
	text-decoration:underline;
}

* img{
	border:none;
}

.enemy-links{	
	margin-top:4px;
	display:block;
}

body{
	font-size:12px;
	font-family:Tahoma, sans-serif;
	margin:0;
	padding:0;
	text-align: center;
}
#page{
	width: 100%;	
	margin:0 auto;
	text-align: left;	
}

#footer{
	clear:both;
	width: 100%;
	text-align: center;
	float:left;
	margin-top:2em;
}

#profile, #options{	
	width: 1000px;		
	height:auto;
	text-align: left;
	margin: 0 auto;
	padding: 0;
}

/*HEADER*/

#results{
	border: none;
	width: 300px;
	height: auto;
	background-color: #EEEEEE;	
	float:right;
	margin-top:1px;
	padding:5px;
	position:absolute;
	top:30px;
	right:0px;
	/*display:none;*/
}
.search_results{
	width: 100%;
	float: left;
	background-color:#EEEEEE;
	border-bottom:1px solid #FF0000;
	margin-bottom:5px;
}

.search_results > a {
	background-color:#FFFFFF;
	color:#FFFFFF;		
}
.search_results > div {
	clear:both;
}

.search_results .the-result{
	padding-bottom:20px;
}

.search_results .the-result > div{
	margin-top:15px;
}

.add_contact_button{		
	float: left;	
}

.search_results .img-div{	
	width:50px;
	height: 50px;
	float:left;
}

.search_results .img-div > img{	
	position:absolute;
	width:50px;
	clip: rect(0px 50px 50px 0px);
	z-index:0;
}


#header{
	width: 100%;		
	height: 30px; 
	text-align: left;
	margin: 0 auto;
	padding: 0;
	background-image: url("/the-enemy/images/main-bg.png");
	background-repeat: repeat-x;
	border-bottom:1px solid #000000;
}
#header #logo{ 
	float:left;
	width: auto;
}

#header #links{
	padding-top:7px;
	float:left;
	width: auto;
}

#header #search{
	float:right;
	width: auto;
	height:30px;
	padding-top:0px;
}

#header #search table{
	border: 0;
	margin: 0;
	padding: 0;
}

#header #search table tr{
	border: 0;
	margin: 0;
	padding: 0;
}

#header #search table tr td{
	border: 0;
	margin: 0;
	padding: 0;
}

#header #search table tr td a{
	color:#009900;
}

#header #search table tr td a:hover{
	color:#003300;
}

#header #search table tr td a{
	color:#009900;
}

#header #search table tr td #logout{
	color:#FF0000;
}

#header #search table tr td #logout:hover{
	color:#990000;
}

#header #search input{
	border: 1px solid #800000;
	height: 20px;
	margin-top:0px;
}

/* SIDEBAR PROFILE LEFT */

#sidebar-profile-left{	
	width: 220px;		
	height: auto;
	margin: none;
	padding: 5px;
	float: left;
}

#sidebar-profile-left #picture{	
	width: 220px;		
	height: 330px;
	margin: none;
}

#sidebar-profile-left hr{	
	border-width: 0;
	height: 1px;
	border-top-width: 1px;
	border-top-style:solid;
	border-top-color:#800000;
}

#sidebar-profile-left #war-status .title{
	color:#800000;
}

#sidebar-profile-left  #war-status .victory{
	color:#008000;
}

#sidebar-profile-left  #war-status .defeat{
	color:#FF0000;
}

#sidebar-profile-left  #war-status .rank{
	color:#000000;
}

#sidebar-profile-left #common-allies .title{
	color:#800000;
	margin-bottom:5px;
}

#sidebar-profile-left #common-allies img{
	margin-left:2px;
}

#sidebar-profile-left #common-allies .user-icon{
	width:50px;
	height: 50px;
	padding:2px;
	float:left;
}

#sidebar-profile-left #common-allies .user-icon img{	
	position:absolute;
	width:50px;
	clip: rect(0px 50px 50px 0px);
	z-index:1;
}

/* SIDEBAR RIGHT */

#sidebar-profile-right{
	background:#EEEEEE;
	float:left;
	margin:5px;
	width:250px;
	height:600px;
}

#sidebar-profile-right div{
	background:#EEEEEE;
	color:#FFFFFF;
	font-size:48px;
	text-align:center;
	width:250px;
	float:left;
}

/* MAIN PROFILE */

#main-profile{	
	width: 500px;		
	height: auto;
	margin: none;
	padding: 5px;
	float: left;
}

#main-profile #name h2{
	margin:0;
	padding:0;
	font-size:3em;
	font-weight:normal;
	color:#800000;	
}

#main-profile #status{
	margin:0;
	padding:3px;
	
	border:1px;
	border-color:#999999;
	border-style:solid;
	
	border-left-width:5px;
	border-left-color:#FF0000;
	border-left-style:solid;
	color:#800000;	
	
	/*white-space: pre-wrap; /* css-3 */
	/*white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
	/*white-space: -pre-wrap; /* Opera 4-6 */
	/*white-space: -o-pre-wrap; /* Opera 7 */
	/*word-wrap: break-word; /* Internet Explorer 5.5+ */
}

#main-profile hr{	
	border-width: 0;
	height: 1px;
	border-top-width: 1px;
	border-top-style:solid;
	border-top-color:#FF0000;
}

/*BEGIN OF AN ATTACK*/

#main-profile #main-entry #war-entry{	
	padding:0;
	margin:0;
}

#main-profile #main-entry #war-entry .attack{	
	float:left;
	width:50px;
}

#main-profile #main-entry #war-entry .reason{	
	float:left;
	text-align:center;
	width:400px;
}

#main-profile #main-entry #war-entry .reason .action{	
	font-weight:bold;
	color:#800000;
}

#main-profile #main-entry #war-entry .reason .description{	
	font-weight:normal;
	font-color:#666666;
	white-space: pre-wrap; /* css-3 */
	white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: -o-pre-wrap; /* Opera 7 */
	word-wrap: break-word; /* Internet Explorer 5.5+ */
}

#main-profile #main-entry #war-entry .defend{
	padding:0;
	margin:0;	
	float:right;
	width:50px;
}

#main-profile #main-entry .img-div{	
	width:50px;
	height: 50px;
	float:left;
}

#main-profile #main-entry img{	
	position:absolute;
	width:50px;
	clip: rect(0px 50px 50px 0px);
	z-index:1;
}


#main-profile #main-entry .allies-entry{	
	padding:0;
	margin:0;
	clear:both;
}

#main-profile #main-entry .allies-entry .attack-allies{	
	float:left;
}

#main-profile #main-entry .allies-entry .attack-comment{	
	float:left;
	text-align:center;
	width:100%;
}

#main-profile #main-entry .allies-entry .attack-allies strong{	
	color:#FF0000;
}

#main-profile #main-entry .allies-entry .defend-allies{	
	float:right;
}

#main-profile #main-entry .allies-entry .defend-allies strong{	
	color:#008000;
}

#main-profile #main-entry .attacks-entry{	
	padding:0;
	margin:0;
	padding-top:5px; 
	clear:both;
}

#main-profile #main-entry .attacks-entry .comments{	
	width:400px;
	margin:0 auto;
	background-color:#EEEEEE;
	text-align:center;
	border-left-width:5px;
	border-left-color:#FF0000;
	border-left-style:solid;
	border-right-width:5px;
	border-right-color:#008000;
	border-right-style:solid;	
}

#main-profile #main-entry .attacks-entry .attack{	
	width:396px;
	height:auto;
	min-height:35px;
	margin:0 auto;
	margin-top:3px;
	padding:2px;
	background-color:#EEEEEE;
	border-left-width:5px;
	border-left-color:#FF0000;
	border-left-style:solid;
	border-right-width:5px;
	border-right-color:#FFFFFF;
	border-right-style:solid;	
}


#main-profile #main-entry .attacks-entry .defend{	
	width:396px;
	height:auto;
	min-height:35px;
	margin:0 auto;
	margin-top:3px;
	padding:2px;
	background-color:#EEEEEE;
	border-left-width:5px;
	border-left-color:#FFFFFF;
	border-left-style:solid;
	border-right-width:5px;
	border-right-color:#008000;
	border-right-style:solid;	
}

#main-profile #main-entry .attacks-entry .attack img, 
#main-profile #main-entry .attacks-entry .defend img{	
	width:32px;
	height:32px;
	float:left;
	margin-right:3px;
}

#main-profile #main-entry .attacks-entry .attack div, 
#main-profile #main-entry .attacks-entry .defend div{	
	margin-left:35px;
}

/*BEGIN OF A SELF ACTION*/

#main-profile #main-entry #status-entry{	
	padding:0;
	margin:0;
}

#main-profile #main-entry #status-entry .me{	
	float:left;
	width:50px;
	margin-right:3px;
}

#main-profile #main-entry #status-entry .my-action .highlight{
	font-weight:bold;	
	color:#800000;
}

/* SIDEBAR LEFT OPTIONS */

#sidebar-options-left{	
	width: 220px;		
	height: auto;
	margin: none;
	padding: 5px;
	float: left;
}

#sidebar-options-left #picture{	
	width: 220px;		
	height: 330px;
	margin: none;
}

#sidebar-options-left #picture-options{
	float:left;
	text-align:center;
	width:220px;
}

#sidebar-options-left #picture-options #image_form{
	position:absolute;
	display:none;
	padding-top:5px;
}

#sidebar-options-left #picture-options #image_form .texto{
	width:218px;
	margin:0;
	border:1px solid #800000;
}

/* MAIN OPTIONS */

#main-options{	
	width: 500px;		
	height: auto;
	margin: none;
	padding: 5px;
	float: left;
}

#main-options #title h2{
	margin:0;
	padding:0;
	font-size:3em;
	font-weight:normal;
	color:#800000;	
}

#main-options #subarea{	
	width:490px;
	margin:0 auto;
	padding:0;
	background-color:#EEEEEE;
	text-align:left;
	border-left-width:5px;
	border-left-color:#FF0000;
	border-left-style:solid;
	border-right-width:5px;
	border-right-color:#008000;
	border-right-style:solid;	
}

#main-options #subarea h2{	
	font-size:1.5em;	
	color:#800000;	
	font-weight:normal;	
	padding:5px;
	padding-top:1px;
	padding-bottom:1px;
}

#main-options #basic-options-form, 
#main-options #password-form{	
	width:500px;
}
#main-options #basic-options-form #basic-options-table .title,
#main-options #password-form #password-table .title{
	text-align:right;
	padding-right:10px;
	width:150px;
}

#main-options #basic-options-form #button,
#main-options #password-form #button{
	width: auto;	
	height: 22px;			
	background-color:#800000;
	border:none;
	color:#FFFFFF;
	float:right;
	-moz-box-shadow: 2px 2px 1px 1px #000;
	-webkit-box-shadow: 2px 2px 1px 1px #000;
	box-shadow: 2px 2px 1px 1px #000;";
}